* {
    padding: 0;
    margin: 0;
    list-style: none;
    box-sizing: border-box;
}

body {
    font: 14px/1.5 '微软雅黑';
    color: #333;
    background-color: #fff;
}

a {
    text-decoration: none;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

main {
    width: 100%;
    background: #f5f5f5;
    padding: 30px 0 60px  0;
}

.multi-use-wrapper,
.head-wrapper,
.bottom-wrapper,
.main-nav-wrapper,
.swiper-slide-wrapper,
.classify-wrapper,
.star-wrapper,
.smart-home-wrapper,
.foot-wrapper
{
    width: 1230px;
    height: 100%;
    margin: 0 auto;
    /* border: 1px solid red; */
    box-sizing: border-box;
}

.head {
    height: 40px;
    background: #333;
}

.head-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.head-nav {
    height: 100%;
    width: 650px;
    display: flex;
    box-sizing: border-box;
    align-items: center;
}

.head-nav li {
    flex-grow: 1;
}

.head-nav li a,
.head-userinfo a {
    color: #b0b0b0;
    font-size: 12px;
}

.head-nav li:not(.last):after,
.head-userinfo .user-info li:not(.last):after {
    content: '|';
    margin: 0 .3em;
    color: #424242;
}

.head-userinfo {
    height: 100%;
    width: 260px;
    display: flex;
    justify-content: space-between;
}

.head-userinfo .user-info {
    display: flex;
    width: 140px;
    justify-content: flex-start;
    align-items: center;
}

.shopping-cart {
    width: 120px;
    height: 100%;
    line-height: 40px;
    text-align: center;
    color: #b0b0b0;
    background: #424242;
    align-items: center;
}




.main-nav {
    height: 100px;
}


.logobox {
    width: 50px;
    height: 50px;
    background: #333 url(./img/mi-logo.png);
    background-size: cover;
}


.main-nav-wrapper {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.main-nav .cata {
    display: flex;
    width: 630px;
    height: 100%;
    /* border: 1px solid; */
    align-items: center;
}

.main-nav .cata>li {
    /* width: 84px; */
    flex-grow: 1;
    display: flex;
    height: 100%;
    /* border: 1px solid; */
    align-items: center;
    justify-content: center;

}



.main-nav a {
    font-size: 16px;
    color: #333;
}

.search-bar {
    display: flex;
    width: 296px;
    height: 50px;
    border: 1px solid #e0e0e0;
}

.search-bar input {
    outline: none;
    border: none;
    flex: 1;
    height: 100%;
}

.search-bar .search-icon {
    width: 52px;
    height: 100%;
display: flex;
align-items: center;
justify-content: center;
    font-size: 24px;
font-weight: bold;
    background-color: #fff;
    color: #616161;
    border-left: 1px solid #e0e0e0;
}

.swiper-slide {
    height: 460px;
}

.swiper-slide-wrapper {
    display: flex;
    height: 100%;
    background: url(./img/T1jrxjB_VT1RXrhCrK.jpg) center/cover;
    position: relative;
}

.swiper-slide ul.side-cata {
    padding: 20px 0;
    width: 234px;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: rgba(17, 17, 17, 0.8);

}

.swiper-slide ul.side-cata>li>a {
    display: flex;
    width: 100%;
    justify-content: space-between;
    color: white;
    font-size: 14px;

}

.swiper-slide ul.side-cata>li {
    padding: 0 20px 0 30px;
    flex: 1;
    display: flex;
    align-items: center;
}



.classify {
    height: 170px;
    margin: 12px 0;
}

.classify-wrapper {
    display: flex;
    justify-content: space-between;


}

.classify-wrapper .chanel-6 {
    width: 234px;
    padding: 3px;
    font-size: 12px;
    text-align: center;
    background: #5f5750;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: space-around;
}

.classify-wrapper .chanel-6 li {
    width: 70px;
    height:70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .1);
}
.classify-wrapper .chanel-6 li span{
margin:0 0 10px 0;
    
}
.classify-wrapper .chanel-6 li:nth-of-type(1),
.classify-wrapper .chanel-6 li:nth-of-type(2),
.classify-wrapper .chanel-6 li:nth-of-type(3) {
    border-top:none;
}
.classify-wrapper .chanel-6 li:nth-of-type(4),
.classify-wrapper .chanel-6 li:nth-of-type(5),
.classify-wrapper .chanel-6 li:nth-of-type(6) {
    border-bottom: none;
}

.classify-wrapper .chanel-6 li:nth-of-type(2),
.classify-wrapper .chanel-6 li:nth-of-type(5) {
    border-right: 1px solid rgba(255, 255, 255, .1);
    border-left: 1px solid rgba(255, 255, 255, .1);
}


.classify-wrapper .chanel-6 li img {
    width: 24px;
    height: 24px;
}

.classify-wrapper .chanel-6 li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: .7;
    transition: opacity .2s;
}


.classify-wrapper .promo {
    width: 316px;
}

.classify-wrapper .promo img {
    width: 100%;
    height: 100%;
}

.multi-use {
    height: 686px;
}

.multi-use h2 {
    margin: 0;
    font-size: 22px;
    font-weight: bold;
    line-height: 58px;
    color: #333;
    display: flex;
    text-align: center;
    justify-content: space-between;
}
.multi-use h2 .flag span{
    display: inline-block;
    width: 50px;
    height: 26px;
    line-height:24px ;
    color: #999;
    border: 1px solid rgba(153, 153, 153,.3);
}
.multi-use-box {
    height: 614px;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.multi-use-box>ul>li {
    width: 234px;
    height: 300px;
    /* border: violet 1px solid; */

}

.multi-use-box .promo {
    display: flex;
    flex-direction: column;
    width: 234px;
    /* border: violet 1px solid; */
    justify-content: space-between;
    text-align: center;
}
.smart-home-wrapper .regul{
    padding-left: 14px;
}
.multi-use-box .regul {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: space-between;
    text-align: center;
}

.multi-use-box .regul>li {
    padding: 20px 0;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.ad-box {
    height: 120px;
    margin: 22px auto;
}

.ad-box img {
    width: 100%;
    height: 100%;
}

.star {
    height: 398px;
}

.star-box {
    height: 340px;
}


.star-box .regul li{
    border-top: orange 1px solid;
}


.multi-use .regul>li .goods-pic {
    margin-bottom: 20px;
}

.multi-use .regul>li .goods-pic img {
    width: 160px;
    height: 160px;
}

.multi-use .regul>li .goods-info .title {
    font-size: 14px;
    font-weight: 400;
    text-overflow: ellipsis;
    color: #212121;
    overflow: hidden;
    white-space: nowrap;
    width: 194px;
    margin: 0 auto;
}

.multi-use .regul>li .goods-info .desc {
    height: 18px;
    font-size: 12px;
    text-overflow: ellipsis;
    color: #b0b0b0;
    margin-bottom: 10px;
}



.regul p.price span {
    color:orange;
}

.star-box .regul p.price .ori-price {
    color: #b0b0b0;
    text-decoration: line-through;
}


.smart-home-wrapper .smart-home-promo>li {
    height: 100%;
}

.smart-home-wrapper .smart-home-promo>li img {
    width: 100%;
    height: 100%;
}

.foot-wrapper{
display: flex;
flex-direction: column;
align-content: center;
height: 300px;
}
.foot-wrapper>p{
    padding: 30px 0;
    /* width: 960px; */
    margin: 0 auto;
    /* border: 1px solid; */
    text-align: center;
    color: #666;
}
.foot-wrapper p span{
    margin: 0 60px;
    font-weight: bold;
}


.help-nav-wrapper{
    display: flex;
    justify-content: space-between;
    color: #999;
    border-top: 1px #999 solid;
    padding-top: 30px;
}
.help-nav{
    display: flex;
    width: 800px;
    justify-content: space-between;
}
.help-nav ul li{
    margin-bottom: 15px;
}
.help-nav ul li.title{
color: #333333;
margin-bottom: 25px;
}
footer .tel-info{
text-align: center;
width: 300px;
height: 120px;
padding: 0 70px;
border-left: solid 1px;
display: flex;
flex-direction: column;
justify-content: space-between;

}
.tel-info .tel-num{
    color: orange;
    font-size: 20px;
}
.tel-info .tel-time{
    color: #333;
}
.tel-info div.online{
    border: 1px orange solid;
    color: orange;
    width: 120px;
    margin: 0 auto;
}
div.bottom{
    background: #f5f5f5;
    padding: 30px 0;
    height: 200px;
}
div.bottom img{
    background-color: orangered;
    vertical-align: middle;
}